package com.ym.enums;

public enum DeviceEnum {
   SmokeDetector(1, "烟感"),
   ManualFireAlarm(2, "手报"),
   Camera(3, "摄像头");

   private int value;
   private String name;

   DeviceEnum(int value, String name) {
      this.value = value;
      this.name = name;
   }

   public int getValue() {
      return value;
   }

   public String getName() {
      return name;
   }
} 